﻿namespace WMS.FC.Domain.PersistenceObject.Business
{
    public class CalibPlanPO : WarehousePOBase
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; } = string.Empty;

        /// <summary>
        /// 产线编码
        /// </summary>
        public string LineCode { get; set; } = string.Empty;

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;

        /// <summary>
        /// 区域编码
        /// </summary>
        public string ZoneCode { get; set; } = string.Empty;

        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipmentCode { get; set; } = string.Empty;

        /// <summary>
        /// 状态编码
        /// </summary>
        public string StateCode { get; set; } = string.Empty;

        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime AppointmentTime { get; set; }

        /// <summary>
        /// 是否循环执行
        /// </summary>
        public bool IsLoop { get; set; }

        /// <summary>
        /// 循环间隔天数
        /// </summary>
        public int IntervalDays { get; set; }

        /// <summary>
        /// 设备列表
        /// </summary>
        public List<CalibPlanEquipmentPO> EquipmentList { get; set; } = new List<CalibPlanEquipmentPO>();
    }
}
